package cn.ycxy.lbl.member.dao;

import cn.ycxy.lbl.pojo.member.domain.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RoleDao extends BaseMapper<Role> {

    List<String> listRolesById(@Param("userId") Long userId);

}
